package cn.likole.oj.bean;

import org.nutz.dao.entity.annotation.*;

/**
 * Created by likole on 7/25/18.
 * 运行信息
 */
@Table("runtime_info")
public class RuntimeInfo {

    /**
     * 运行编号
     */
    @Id(auto = false)
    private int solutionId;

    /**
     * 错误信息
     */
    @Column
    @ColDefine(type = ColType.TEXT)
    private String error;

    public int getSolutionId() {
        return solutionId;
    }

    public void setSolutionId(int solutionId) {
        this.solutionId = solutionId;
    }

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }
}
